package com.selfmade.transferutil.model;

/**
 * Created by Selfmade on 2017/7/25/0025.
 */

public class Book {
    private String ID;
    private String name;
    private String author;
    private String press;

    public Book(String ID, String name, String author, String press) {
        this.ID = ID;
        this.name = name;
        this.author = author;
        this.press = press;
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }

    @Override
    public String toString() {
        return "编号：" + ID + "  书名：" + name + "  作者：" + author + "  出版社：" + press;
    }
}
